# Contributor: Siva Mahadevan <me@svmhdvn.name>
# Maintainer: Siva Mahadevan <me@svmhdvn.name>
pkgname=retroforth
pkgver=2022.1
pkgrel=0
pkgdesc="clean, elegant, and pragmatic dialect of Forth"
url="https://retroforth.org"
arch="all"
license="ISC"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~crc_/retroforth/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
0d96f1279672bffa678bf8b3cb2d177f8757c2946a7b4c1cf04195bef6e19d89c4fd37ec0c456f2953a34f219f8b7dbc32ae92244b43ce8a601df8c379c2574b  retroforth-2022.1.tar.gz
"
